package com.bdqn.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 系统权限实体
 *
 * @author LILIBO
 * @since 2021-07-19
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("sys_right")
public class Right implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 权限编码，主键
     */
    @TableId(type = IdType.INPUT)
    private String rightCode;

    /**
     * 父级权限编码
     */
    private String rightParentCode;

    /**
     * 资源类型
     */
    private String rightType;

    /**
     * 资源描述
     */
    private String rightText;

    /**
     * 访问URL
     */
    private String rightUrl;

    /**
     * 提示说明
     */
    private String rightTip;

}